<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="http://www.jq22.com/js/jquery.min.js"></script>
</head>
<body>
    <button></button>
</body>
<script>

    $('button').click(function(){
        $.ajax({
            url: "http://eam.inforward.com.cn/api/assets/store",
            // context: document.body,
            type:'post',
            data:{coding:"abc123",category_id:123,name:"dsf"},
            success: function(){
                $(this).addClass("done");
            }
        });
    });

</script>
</html>
